Last updated: 2021-06-30

Checks: 6 1

Knit directory: ~/Desktop/StatCan/Hugo Github/Construction_Hugo/Construction/Construction/

This reproducible R Markdown analysis was created with workflowr (version 1.6.2). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great job! The global environment was empty. Objects defined in the global environment can affect the analysis in your R Markdown file in unknown ways. For reproduciblity it’s best to always run the code in an empty environment.

The command set.seed(12345) was run prior to running the code in the R Markdown file. Setting a seed ensures that any results that rely on randomness, e.g. subsampling or permutations, are reproducible.

Great job! Recording the operating system, R version, and package versions is critical for reproducibility.

Nice! There were no cached chunks for this analysis, so you can be confident that you successfully produced the results during this run.

Great job! Using relative paths to the files within your workflowr project makes it easier to run your code on other machines.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 51961b2. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rproj.user/

Unstaged changes:
    Modified:   Construction.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (Construction.Rmd) and HTML (Construction.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
Rmd 51961b2 Hugo 2021-06-30 test 4
html 51961b2 Hugo 2021-06-30 test 4
html 04fa6ad Hugo 2021-06-30 test 3
Rmd fd2451d Hugo 2021-06-30 test 2
html fd2451d Hugo 2021-06-30 test 2

initial date 2021-06-17

Notes to readers : There is a lot of missing data on building permits which might cause irregularity in the table. The first three code of : code and function parameters need to be updated once a year in early march.

Introduction

Notes and important informations

packages needed

Here’s a list of all the necessery package to run the program.

Core functions and parameters

This section includes global function of which many have been imported from the Provincial_view.rmd on which Arman worked on. The parameters from_this_year, Incomplete_Year1 and Incomplete_Year2 must be changed for the proper year, once a year in early march.

paths

all the files in this program will now be created relative to where you run this script; it will create all the necessary subflorder and files from the location below

construction investment database

Building construction investment, monthly unadjusted constant K$

Investment in building construction, monthly, unadjusted constant K$ Table

Investment in building construction, monthly, unadjusted constant K$ Graph code

Investment in building construction, monthly, unadjusted constant K$ graph 1, total residential, Type of work, QC, AB, BC, ON

Investment in building construction, monthly, unadjusted constant K$ graph 2, total residential, Type of work, MB, NB, NL, NS, PE, SK

Investment in building construction, monthly, unadjusted constant K$ graph 3, total residential, Type of work, NT, NU, YT

Building construction investment annually unadjusted constant K$

Investment in building construction, annually, unadjusted constant K$ Table

fd = first difference; pc = percent change

Investment in building construction, annually, unadjusted constant K$ Graph code

Investment in building construction, annually, unadjusted constant K$ Graph 1, Total value, QC, AB, BC, ON

Investment in building construction, annually, unadjusted constant K$ Graph 2, Total value, MB, NB, NL, NS, PE, SK

Investment in building construction, annually, unadjusted constant K$ Graph 3, Total value, NT, NU, YT

Investment in building construction, annually, unadjusted constant K$ Graph 4, Total value, first difference, QC, AB, BC, ON

Investment in building construction, annually, unadjusted constant K$ Graph 5, Total value, first difference, MB, NB, NL, NS, PE, SK

Investment in building construction, annually, unadjusted constant K$ Graph 6, Total value, first difference, NT, NU, YT

Investment in building construction, annually, unadjusted constant K$ Graph 7, Total value, Percent change, QC, AB, BC, ON

Investment in building construction, annually, unadjusted constant K$ Graph 8, Total value, Percent change, MB, NB, NL, NS, PE, SK

Investment in building construction, annually, unadjusted constant K$ Graph 9, Total value, Percent change, NT, NU, YT

building Construction investment, monthly unadjusted current

building Construction investment, monthly unadjusted current C$ Table

Investment in building construction, monthly, unadjusted current C$ Graph code

Investment in building construction, monthly, unadjusted current C$ Graph 1, total residential, Type of work, QC, AB, BC, ON

Investment in building construction, monthly, unadjusted current C$ Graph 2, total residential, Type of work, MB, NB, NL, NS, PE, SK

Investment in building construction, monthly, unadjusted current C$ Graph 3, total residential, Type of work, NT, NU, YT

Building construction investment, annually unadjusted current

Building construction investment, annually unadjusted current C$ Table

fd = first difference; pc = percent change

Investment in building construction, annually, unadjusted current C$ Graph code

Investment in building construction, annually, unadjusted current C$ Graph 1, Total value, QC, AB, BC, ON

Investment in building construction, annually, unadjusted current C$ Graph 2, Total value, MB, NB, NL, NS, PE, SK

Investment in building construction, annually, unadjusted current C$ Graph 3, Total value, NT, NU, YT

Investment in building construction, annually, unadjusted current C$ Graph 4, Total value, first difference QC, AB, BC, ON

Investment in building construction, annually, unadjusted current C$ Graph 5, Total value, first difference MB, NB, NL, NS, PE, SK

Investment in building construction, annually, unadjusted current C$ Graph 6, Total value, first difference NT, NU, YT

Investment in building construction, annually, unadjusted current C$ Graph 7, Total value, percent change, QC, AB, BC, ON

Investment in building construction, annually, unadjusted current C$ Graph 8, Total value, percent change, MB, NB, NL, NS, PE, SK

Investment in building construction, annually, unadjusted current C$ Graph 9, Total value, percent change, NT, NU, YT

Building permits database

Value and number of permits, Unadjusted current

Building permits, residential values and number of units, by type of dwelling, annual (x1,000)

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Table

fd = first difference; pc = percent change

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph code

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph 1, QC, AB, BC, ON

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph 2, MB, NB, NL, NS, PE, SK

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph 3, NT, NU, YT

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000), first difference, Graph 4, QC, AB, BC, ON

Building permits, residential values and number of units, by type of dwelling, annual unadjusted current (x1,000), first difference, Graph 5, MB, NB, NL, NS, PE, SK

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000), first difference, Graph 6, NT, NU, YT

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000), percent change, Graph 7, QC, AB, BC, ON

Building permits, residential values and number of units, by type of dwelling, annual unadjusted current (x1,000), percent change, Graph 8, MB, NB, NL, NS, PE, SK

Building permits, residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000), percent change, Graph 9, NT, NU, YT

Value and number of permits, Unadjusted current

Building permits, Non-residential values and number of units, by type of structure, annual (x1,000)

Building permits, Non-residential values and number of units, by type of structure, annual, unadjusted current (x1,000) Table

fd = first different; pc = percent change

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph code

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph 1 - QC, AB, BC, ON

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph 2 - MB, NB, NL, NS, PE, SK

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000) Graph 3 - NT, NU, YT

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000), first difference, Graph 4 - QC, AB, BC, ON

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000), first difference, Graph 5 - MB, NB, NL, NS, PE, SK

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current (x1,000), first difference, Graph 6 - NT, NU, YT

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current, percent change, Graph 7 - QC, AB, BC, ON

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current, percent change, Graph 8 - MB, NB, NL, NS, PE, SK

Building permits, Non-residential values and number of units, by type of dwelling, annual, unadjusted current, percent change, Graph 9 - NT, NU, YT

Value and number of permits, Unadjusted constant

Building permits, residential values of permits, by type of dwelling, annual (x1,000)

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Table

fd = first difference; pc = percent change

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Graph code

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Graph 1, QC, AB, BC, ON

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Graph 2, MB, NB, NL, NS, PE, SK

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Graph 3, NT, NU, YT

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), first difference, Graph 4, QC, AB, BC, ON

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), first difference, Graph 5, MB, NB, NL, NS, PE, SK

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), first difference, Graph 6, NT, NU, YT

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), percent change, Graph 7, QC, AB, BC, ON

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), percent change, Graph 8, MB, NB, NL, NS, PE, SK

Building permits, residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), percent change, Graph 9, NT, NU, YT

Value and number of permits, Unadjusted constant

Building permits, Non-residential values of permits, by type of structure, annual (x1,000)

Building permits, Non-residential values of permits, by type of structure, annual, unajusted constant (x1,000) Table

fd = first difference; pc = percent change

Building permits, non-residential values of permits, by type of dwelling, annual, unajusted constant (x1,000) Graph code

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Graph 1, QC, AB, BC, ON

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Graph 2, MB, NB, NL, NS, PE, SK

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000) Graph 3, NT, NU, YT

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), first difference, Graph 4, QC, AB, BC, ON

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), first difference, Graph 5, MB, NB, NL, NS, PE, SK

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant (x1,000), first difference, Graph 6, NT, NU, YT

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant, percent change, Graph 7, QC, AB, BC, ON

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant, percent change, Graph 8, MB, NB, NL, NS, PE, SK

Building permits, non-residential values of permits, by type of dwelling, annual, unadjusted constant, percent change, Graph 9, NT, NU, YT

Capital and repair expenditures data

Capital and repair expenditures (x 1,000,000)

Capital and repair expenditures (1,000,000) Table

fd = first difference; pc = percent change

Capital and repair expenditures (1,000,000) Graph code

Capital and repair expenditures (1,000,000) Graph 1, all industry, QC, AB, BC, ON

Capital and repair expenditures (1,000,000) Graph 2, all industry, MB, NB, NL, NS, PE, SK

Capital and repair expenditures (1,000,000) Graph 3, all industry, NT, NU, YT

Capital and repair expenditures (1,000,000) Graph 4, all industry, first difference, QC, AB, BC, ON

Capital and repair expenditures (1,000,000) Graph 5, all industry, first difference, MB, NB, NL, NS, PE, SK

Capital and repair expenditures (1,000,000) Graph 6, all industry, first difference, NT, NU, YT

Capital and repair expenditures Graph 7, all industry, percent change, QC, AB, BC, ON

Capital and repair expenditures Graph 8, all industry, percent change, MB, NB, NL, NS, PE, SK

Capital and repair expenditures Graph 9, all industry, percent change, NT, NU, YT


sessionInfo()
R version 4.0.5 (2021-03-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale:
[1] LC_COLLATE=English_Canada.1252  LC_CTYPE=English_Canada.1252   
[3] LC_MONETARY=English_Canada.1252 LC_NUMERIC=C                   
[5] LC_TIME=English_Canada.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] params_0.7.3       whisker_0.4        tsibble_1.0.1      gapminder_0.3.0   
 [5] summarytools_0.9.9 plotly_4.9.4       here_1.0.1         cansim_0.3.8      
 [9] janitor_2.1.0      DT_0.18            forcats_0.5.1      stringr_1.4.0     
[13] dplyr_1.0.6        purrr_0.3.4        readr_1.4.0        tidyr_1.1.3       
[17] tibble_3.1.2       ggplot2_3.3.4      tidyverse_1.3.1    rmarkdown_2.9     

loaded via a namespace (and not attached):
 [1] matrixStats_0.59.0 fs_1.5.0           lubridate_1.7.10   httr_1.4.2        
 [5] rprojroot_2.0.2    tools_4.0.5        backports_1.2.1    utf8_1.2.1        
 [9] R6_2.5.0           DBI_1.1.1          lazyeval_0.2.2     colorspace_2.0-1  
[13] withr_2.4.2        tidyselect_1.1.1   curl_4.3.1         compiler_4.0.5    
[17] git2r_0.28.0       cli_2.5.0          rvest_1.0.0        xml2_1.3.2        
[21] labeling_0.4.2     scales_1.1.1       checkmate_2.0.0    digest_0.6.27     
[25] base64enc_0.1-3    pkgconfig_2.0.3    htmltools_0.5.1.1  dbplyr_2.1.1      
[29] htmlwidgets_1.5.3  rlang_0.4.11       readxl_1.3.1       rstudioapi_0.13   
[33] pryr_0.1.4         farver_2.1.0       generics_0.1.0     jsonlite_1.7.2    
[37] crosstalk_1.1.1    magrittr_2.0.1     rapportools_1.0    Rcpp_1.0.6        
[41] munsell_0.5.0      fansi_0.5.0        lifecycle_1.0.0    stringi_1.5.3     
[45] yaml_2.2.1         snakecase_0.11.0   plyr_1.8.6         grid_4.0.5        
[49] promises_1.2.0.1   RcppTOML_0.1.7     crayon_1.4.1       haven_2.4.1       
[53] pander_0.6.4       hms_1.1.0          magick_2.7.2       anytime_0.3.9     
[57] knitr_1.33         pillar_1.6.1       tcltk_4.0.5        codetools_0.2-18  
[61] reprex_2.0.0       glue_1.4.2         evaluate_0.14      data.table_1.14.0 
[65] modelr_0.1.8       vctrs_0.3.8        httpuv_1.6.1       cellranger_1.1.0  
[69] gtable_0.3.0       assertthat_0.2.1   xfun_0.23          broom_0.7.7       
[73] later_1.2.0        viridisLite_0.4.0  workflowr_1.6.2    ellipsis_0.3.2